package com.ziytek.web.citizen.constant;

/**
 * @author fenghx
 * @version v1.0
 * @className NumConstant
 * @description 数字常量
 * @date 2023/9/6 10:36
 **/
public class NumConstant {
    // INT常量

    public static final int INT_LT_TEN = -100;
    public static final int INT_LT_ZERO = -1;
    public static final int INT_ZERO = 0;
    public static final int INT_ONE = 1;
    public static final int INT_TWO = 2;
    public static final int INT_THREE = 3;
    public static final int INT_FOUR = 4;
    public static final int INT_FIVE = 5;
    public static final int INT_SIX = 6;
    public static final int INT_SEVEN = 7;
    public static final int INT_EIGHT = 8;
    public static final int INT_TEN = 10;
    public static final int INT_ELEVEN = 11;
    public static final int INT_TWELVE = 12;
    public static final int INT_THIRTEEN = 13;
    public static final int INT_FORTY = 14;
    public static final int INT_FIFTEEN = 15;
    public static final int INT_TEN_SIX = 16;
    public static final int INT_THIRTY_TWO = 32;
    public static final int INT_TWO_TEN = 20;
    public static final int INT_FIFTY = 50;
    public static final int INT_SIXTY = 60;
    public static final int INT_SIXTY_FOUR = 64;
    public static final int INT_EIGHTY_FOUR = 84;
    public static final int INT_EIGHTY_SIX = 86;
    public static final int INT_HUNDRED = 200;
    public static final int INT_ONE_HUNDRED = 100;
    public static final int INT_ONE_TWO_EIGHT = 128;
    public static final int INT_TWO_FIFTY_FIVE = 255;
    public static final int INT_FIVE_HUNDRED = 500;
    public static final int INT_SIX_HUNDRED = 600;
    public static final int INT_FIVE_HUNDRED_TWO = 512;
    public static final int INT_SIX_EIGHT_EIGHT = 688;
    public static final int INT_SIX_NINE_EIGHT = 698;
    public static final int INT_ONE_THOUSAND = 1000;
    public static final int INT_TWO_THOUSAND = 2000;
    public static final int INT_ONE_THOUSAND_FINISH = 4200;
    public static final int INT_END = 5386;
    public static final int INT_DATA_END = 5516;
    public static final int INT_DATA_LEN = 5394 * 2;
    public static final int INT_DATA_ACTUAL_LENGTH = 5520;
    public static final int INT_DATA_END_LEN = 5524;
    public static final int INT_DATA_LEN_MAX = 5524 * 2;
    public static final int INT_SUSPEND = 999999;
    public static final int INT_FINISH = 8999999;
    public static final int SECONDS = 1000;
    public static final int MAX_SIZE = 50;
    public static final int FF_NUM = 65535;

    public static final double DOUBLE_ZERO = 0D;
    public static final double DOUBLE_ONE = 1D;
    public static final double DOUBLE_TWO = 2D;
    public static final double DOUBLE_THREE = 3D;
    public static final double DOUBLE_TEN = 10D;
    public static final double DOUBLE_THIRTY = 30D;
    public static final double DOUBLE_FIFTY = 50D;
    public static final double DOUBLE_SIXTY = 60D;
    public static final double DOUBLE_HUNDRED = 100D;
    public static final double DOUBLE_ONE_THOUSAND = 1000D;

    public static final int INT_LENGTH_DATA = 2762;
    // LONG常量

    public static final long LONG_LT_ZERO = -1L;
    public static final long LONG_LT_TEN = -100L;
    public static final long LONG_ZERO = 0L;
    public static final long LONG_ONE = 1L;
    public static final long LONG_TWO = 2L;
    public static final long LONG_THREE = 3L;
    public static final long LONG_FOUR = 4L;
    public static final long LONG_SIX = 6L;
    public static final long LONG_TEN = 10L;
    public static final long LONG_TWELVE = 12L;
    public static final long LONG_ONE_DAY = 24L;
    public static final long LONG_SIXTY = 60L;
    public static final long LONG_ONE_HUNDRED = 100L;
    public static final long LONG_ONE_THOUSAND = 1000L;
    public static final long LONG_FIVE_THOUSAND = 5 * 1000L;
    public static final long LONG_THIRTY_THOUSAND = 30 * 1000L;
    public static final long LONG_SIXTY_THOUSAND = 60 * 1000L;
    public static final long LONG_CACHE_FLEX_TIME = 2L;
    public static final long LONG_FIVE = 5L;

    /**
     * 弹性时间 单位秒
     */
    public static final long CACHE_FLEX_TIME = 5;
    public static final long CACHE_DURATION_HOURS = 5;
    public static final long DISCHARGE_TIME_CACHE_FLEX_TIME = 15;

    public static final float FLOAT_LT_ZER = -1F;
    public static final float FLOAT_ZER = 0F;
    public static final float FLOAT_ONE = 1F;
    public static final float FLOAT_LT_ONE = 0.5F;
    public static final float FLOAT_SMART_LT_ONE = 0.999999F;
    public static final float FLOAT_TWO = 2F;
    public static final float FLOAT_THREE = 3F;
    public static final float FLOAT_FOUR = 4F;
    public static final float FLOAT_SIX = 6F;
    public static final float FLOAT_TEN = 10F;
    public static final float FLOAT_SIXTY = 60F;
    public static final float FLOAT_TEN_T = 0.1F;
    public static final float FLOAT_HUNDRED = 100F;
    public static final float FLOAT_LEISURE = 100F;
    public static final float FLOAT_TEN_THOUSAND = 10000F;
    public static final float FLOAT_TWENTY_THOUSAND = 200000F;
    public static final float FLOAT_THREE_THOUSAND = 3600F;
    public static final float FLOAT_ONE_THOUSAND = 1000F;
    public static final float FLOAT_TWO_THOUSAND = 2000F;
    public static final float FLOAT_BATTERY_LIMIT = 4369F; // 电池限制
    public static final float FLOAT_PWM_ERROR = 8738F; //PWM失控
    public static final float FLOAT_CHECK_ERROR = 13107F;//设备自检异常
}
